package HibernateFacet;

import java.util.HashSet;
import java.util.Set;

/**
 * DeviceInformation entity. @author MyEclipse Persistence Tools
 */

public class DeviceInformation implements java.io.Serializable {

	// Fields

	private Integer id;
	private InstallationManagement installationManagement;
	private String seriesNumber;
	private String positionX;
	private String positionY;
	private String address;
	private String controlPassword;
	private Set dataRecords = new HashSet(0);
	private Set warnings = new HashSet(0);

	// Constructors

	/** default constructor */
	public DeviceInformation() {
	}

	/** minimal constructor */
	public DeviceInformation(InstallationManagement installationManagement, String seriesNumber, String positionX,
			String positionY, String address, String controlPassword) {
		this.installationManagement = installationManagement;
		this.seriesNumber = seriesNumber;
		this.positionX = positionX;
		this.positionY = positionY;
		this.address = address;
		this.controlPassword = controlPassword;
	}

	/** full constructor */
	public DeviceInformation(InstallationManagement installationManagement, String seriesNumber, String positionX,
			String positionY, String address, String controlPassword, Set dataRecords, Set warnings) {
		this.installationManagement = installationManagement;
		this.seriesNumber = seriesNumber;
		this.positionX = positionX;
		this.positionY = positionY;
		this.address = address;
		this.controlPassword = controlPassword;
		this.dataRecords = dataRecords;
		this.warnings = warnings;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public InstallationManagement getInstallationManagement() {
		return this.installationManagement;
	}

	public void setInstallationManagement(InstallationManagement installationManagement) {
		this.installationManagement = installationManagement;
	}

	public String getSeriesNumber() {
		return this.seriesNumber;
	}

	public void setSeriesNumber(String seriesNumber) {
		this.seriesNumber = seriesNumber;
	}

	public String getPositionX() {
		return this.positionX;
	}

	public void setPositionX(String positionX) {
		this.positionX = positionX;
	}

	public String getPositionY() {
		return this.positionY;
	}

	public void setPositionY(String positionY) {
		this.positionY = positionY;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getControlPassword() {
		return this.controlPassword;
	}

	public void setControlPassword(String controlPassword) {
		this.controlPassword = controlPassword;
	}

	public Set getDataRecords() {
		return this.dataRecords;
	}

	public void setDataRecords(Set dataRecords) {
		this.dataRecords = dataRecords;
	}

	public Set getWarnings() {
		return this.warnings;
	}

	public void setWarnings(Set warnings) {
		this.warnings = warnings;
	}

}